package com.yfq;

import com.yfq.springframework.context.event.ApplicationListener;
import com.yfq.springframework.context.event.ContextClosedEvent;

/**
 * @author: yfq
 * @date: 2023/2/1 9:55
 * @description:
 */
public class ContextClosedListener implements ApplicationListener<ContextClosedEvent> {
    @Override
    public void onApplicationEvent(ContextClosedEvent event) {
        System.out.println("监听到容器关闭...");
    }
}
